package win.zxshuo.www.repository;


import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import win.zxshuo.www.model.ChapterModelMongoDB;

@Repository
public interface ChapterMongoRepository extends MongoRepository<ChapterModelMongoDB,String> {

    ChapterModelMongoDB findByBookIdAndTitleByOrderByChapterOrder(Long bookid,String title);


}
